package com.xxg.renrenorder.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 设置订单物流参数
 *
 * @author xxg
 * @date 2020/10/30
 */
@Data
@ApiModel(value = "SetOrderExpressQuery", description = "设置订单物流参数")
public class SetOrderExpressQuery {
    @NotNull(message = "id不能为null")
    @ApiModelProperty(value = "订单ID", required = true)
    private List<Long> ids;
    @NotNull(message = "expCode不能为null")
    @ApiModelProperty(value = "快递公司代码", required = true)
    private List<String> expCodes;
    @NotNull(message = "expNo不能为null")
    @ApiModelProperty(value = "快递单号", required = true)
    private List<String> expNos;
    @ApiModelProperty(value = "快递单图片地址（可选），一个快递对应一个图片")
    private List<String> expImages;
    @ApiModelProperty(value = "快递备注信息,JSON格式字符串")
    private List<String> remark;
}